#pragma once

#include <iostream>
#include <cstdlib>
using namespace std;

typedef int SLDataType;
typedef class SeqList
{
public:
	SeqList(int n = 4);
	~SeqList();
	void SeqListPrint();
	void SeqListPushBack(SLDataType x);
	void SeqListPushFront(SLDataType x);
	void SeqListPopBack();
	void SeqListPopFront();
	int SeqListFind(SLDataType x);
	void SeqListInsert(SLDataType x, int pos);
	void SeqListErase(int pos);

private:
	SLDataType* _arr;
	int _size;
	int _capacity;
}SL;